<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp"%>
<%@ page import="com.chanyachting.emall.util.*" %>
<%@ page import="java.util.*" %>

<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ page import="com.chanyachting.emall.util.RequestUtil" %>
<%@ page import="com.chanyachting.emall.service.*" %>
<%@ page import="com.chanyachting.emall.serviceImpl.*" %>
<%@ page import="com.chanyachting.emall.serviceImpl.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<link href="css/import.css" type="text/css" rel="stylesheet" />
<title></title>


</head>

<body>
<div class="tab_box">
	<div class="tab_menu">
    	<a href="<%=root %>/adminBackend/businesstypeCreate.do" >创建行业分类</a>
    	<a href="<%=root %>/adminBackend/businessCategory.do?method=create" >创建行业次分类</a>
    	<a href="<%=root %>/adminBackend/mainProduct.do?method=create" class="current">创建主营产品服务</a>
    </div>
    <div class="tab_submenu">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50%">&nbsp;</td>
          <td align="right"><strong><a href="#">预览</a><a href="#">打印</a><a href="#">导出</a></strong></td>
        </tr>
      </table>
    </div>
</div>

<div><%= new RequestUtil(request).getMsg() %></div>


<form action="<%=root %>/adminBackend/mainProduct.do?method=create" method="post" enctype="multipart/form-data" name="form3" id="form3">

  <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">

    <tr>
      <td width="120" height="28" align="right">主营产品服务名称：</td>
      <td><label>
        <input name="name" type="text" id="textfield4" />
      </label></td>
    </tr>
    
    
    <tr>
      <td width="120" height="28" align="right">主营产品服务说明：</td>
      <td><label>
        <input name="summary" type="text" id="textfield4" />
      </label></td>
    </tr>
    
    
    <tr>
      <td width="120" height="28" align="right">优先级：</td>
      <td><label>
        <input name="pri" type="text" id="textfield4" value="0" />
      </label></td>
    </tr>
    
    
    <tr>
      <td width="120" height="28" align="right">选择行次业分类：</td>
      <td><label>
        <select name="businesscategoryId">
        
        	<%
        		List list=(List)new RequestUtil(request).getAttribute("businesscategoryList",new ArrayList());
        	
        		Businesscategory bc=null;
        		
        		for(int i=0;i<list.size();i++){
        			
        			bc=(Businesscategory)list.get(i);
        	%>
        	<option value="<%= bc.getId() %>"><%= bc.getName() %></option>
        	<%
        			
        		}
        		
        	%>
        </select>
      </label></td>
    </tr>
   
    
  </table>
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="td_updown">
    <tr>
      <td height="40" align="center">
      	<input type="submit" name="button" id="button" value="提交"  />
        <input type="reset"  name="button" id="button2" value="取消" /></td>
    </tr>
  </table>
</form>
</body>
</html>

